﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace RN.ERP.Entity.ZBDLRY
{
    /// <summary>
    /// 
    /// </summary>
    [Table("e_PrizeBZH")]
    public class e_PrizeBZH_ZBDL
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Int32 ID { get; set; }
        /// <summary>
        /// 登记日期
        /// </summary>
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? RegisterDate { get; set; }
        /// <summary>
        /// 登记人id
        /// </summary>
        public Int32? AuthorID { get; set; }
        /// <summary>
        /// 登记人名称
        /// </summary>
        public String AuthorName { get; set; }
        /// <summary>
        /// 奖项名称
        /// </summary>
        public String Title { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public String CorpName { get; set; }
        /// <summary>
        /// 资质证书编号
        /// </summary>
        public String LicenceCode { get; set; }
        /// <summary>
        /// 批准机关
        /// </summary>
        public String AuditDept { get; set; }
        /// <summary>
        /// 批准时间
        /// </summary>
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? AuditDate { get; set; }
        /// <summary>
        /// 证书文件名称
        /// 证书文件名称及编号
        /// </summary>
        public String DocID { get; set; }
        /// <summary>
        /// 企业加分值
        /// </summary>
        public Double? CorpScore { get; set; }
        /// <summary>
        /// 企业总得分
        /// </summary>
        public Double? Total_CorpScore { get; set; }
        /// <summary>
        /// 流程状态，0上报，1审核通过，标准化只有市级主管录入，默认为1
        /// </summary>
        public String bFlowStatus { get; set; }
        /// <summary>
        /// 15施工企业，42监理企业
        /// </summary>
        public Int32? CorpFlag { get; set; }
        /// <summary>
        /// 考核依据1，针对企业的考核条款
        /// </summary>
        public Int32? KHID1 { get; set; }
        /// <summary>
        /// 考核依据2，针对个人的考核条款
        /// </summary>
        public Int32? KHID2 { get; set; }
        /// <summary>
        /// 工程编号
        /// </summary>
        public Int32? ProjectID { get; set; }
        /// <summary>
        /// 公司编号
        /// </summary>
        public Int32? CorpID { get; set; }
        /// <summary>
        /// 标准化编号
        /// </summary>
        public String BZHID { get; set; }
        /// <summary>
        /// 施工许可
        /// </summary>
        public String SGXK { get; set; }
        /// <summary>
        /// 工程名称
        /// </summary>
        public String ProjectName { get; set; }
        /// <summary>
        /// 工程地址
        /// </summary>
        public String ProjectAddress { get; set; }
        /// <summary>
        /// 是否主建单位0：否；1：是
        /// </summary>
        public Int32? ConstractionFlag { get; set; }
        /// <summary>
        /// 项目经理或项目总监编号
        /// </summary>
        public Int32? PersonID { get; set; }
        /// <summary>
        /// 15施工企业，42监理企业
        /// </summary>
        public Int32? bFlag { get; set; }
        /// <summary>
        /// 资质编号
        /// </summary>
        public Int32? zzID { get; set; }
        /// <summary>
        /// 项目经理或项目总监得分
        /// </summary>
        public Double? PersonScore { get; set; }
        /// <summary>
        /// 项目经理或项目总监总得分
        /// </summary>
        public Double? Total_PersonScore { get; set; }
        /// <summary>
        /// 项目经理或项目总监名称
        /// </summary>
        public String PersonName { get; set; }
        /// <summary>
        /// 项目经理或项目总监证书编号
        /// </summary>
        public String PersonNo { get; set; }
        /// <summary>
        /// 企业狗号
        /// </summary>
        public Int32 CorpDogID { get; set; }
        /// <summary>
        /// 记录的guid
        /// </summary>
        public Guid? RecordGuid { get; set; }
    }
}
